<form id="frmModal" name="frmModal" action="<?php echo site_url(array('psdm','rewardPunishment','ajax','update')) ?>" method="post">
<h3 class="dialog_title"><span>Add Reward/Punishment</span></h3>
<div class="dialog_content">
<div style="border-bottom: 1px solid #CCC; padding: 10px 0" >
<table width="100%" border="0" cellpadding="5" cellspacing="0">
	<tr>
		<td align="right">Jenis:</td>
		<td>
			<select name="inp[0]" class="validate['required']">
			<option value="">--- pilih ---</option>
			<?php foreach(array_keys($jenis_options) as $row):?>
				<option value="<?php echo $row?>"
				<?php if ($row == $reward_jenis):?>selected<?php endif?>>
					<?php echo $jenis_options[$row]?>
				</option>
			<?php endforeach?>
			</select>
		</td>
	</tr>
	<tr>
		<td align="right">Nama:</td>
		<td>
			<input type="text" name="inp[1]" class="validate['required']" value="<?php echo $reward_nama?>" maxlength="20" style="width: 150px" />
			<input type="hidden" name="inp[2]" class="validate['required']" value="<?php echo $reward_id?>" />
		</td>
	</tr>
</table>
</div>
<div class="dialog_buttons" style="padding: 12px 10px">
	<input class="button" type="submit" value="Save"  />
	<input class="button" type="button" value="Cancel" onclick="FBModal_hide()" />
</div>
</div>
</form>